package com.yyfax.pay.depository.service.inner;

import com.yyfax.pay.depository.domain.FuiouWithdraw;
import com.yyfax.pay.depository.domain.FuiouWithdrawModifyCash;
import com.yyfax.pay.depository.vo.FuiouWithdrawModifyCashVO;
import com.yyfax.pay.vo.depository.ModifyWithdrawCashWayReq;
import com.yyfax.pay.vo.depository.WithdrawReq;

/**
 * 提现service
 *
 * @author yejc
 * @date 2017-09-07
 * @since v1.0.0
 */
public interface FuiouWithdrawService {
	/**
	 * 委托提现
	 *
	 * @param params
	 * @param merchantCode
	 * @return
	 */
	public FuiouWithdraw entrustWithdraw(WithdrawReq params, String merchantCode);

	/**
	 * 提现查询
	 *
	 * @author yejc
	 * @date 2017-10-09
	 * @since v2.0.0
	 */
	public FuiouWithdraw withdrawQuery(String busiId);

	/**
	 * 保存修改提现方式订单
	 * 
	 * @author buyi
	 * @date 2017-11-28 15:50:11
	 * @since v2.0.0
	 * @param merchantCode
	 * @param params
	 * @return
	 */
	public FuiouWithdrawModifyCashVO saveModifyWithdrawCashWay(String merchantCode, ModifyWithdrawCashWayReq params);

	/**
	 * 修改提现方式
	 * 
	 * @author buyi
	 * @date 2017-11-28 15:58:07
	 * @since v2.0.0
	 * @param vo
	 * @return
	 */
	public FuiouWithdrawModifyCash doModifyWithdrawCashWay(FuiouWithdrawModifyCashVO vo);
}
